package gcb.metalsys.entity.cop;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2020-07-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ProTransfer extends Model<ProTransfer> {

    private static final long serialVersionUID = 1L;
    @TableId(value = "transfer_id", type = IdType.AUTO)
    private Long transferId;

    private Long outUserId;

    private Long inUserId;

    private Long productId;

    private Integer transferNumber;

    private String transferRemark;

    private LocalDateTime transferTime;


    @Override
    protected Serializable pkVal() {
        return this.transferId;
    }

}
